using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.Security;
using Longtop.Web.WebSite.Models;
using System.Linq;
using Longtop.Web.Helpers;
using System.ComponentModel;
using NHibernate.Linq;
using System;
using Longtop.Web.SaleWeb.Admin.Achievements;
using Longtop.Web.SaleWeb.Models;
using Longtop.Web.WebSite.Filters;

namespace Longtop.Web.WebSite.Bbs.Controllers {

    [IgnoreAuthorizeAttrobite]
    [Authorize]
    public class GoController : WebSite.Admin.Controllers.ControllerBase {

        public ActionResult Index() {
            return Redirect("~/bbs/index.aspx");
        }
        public ActionResult Home() {
            return Redirect("~/bbs/index.aspx");
        }
        //
        // GET: /Home/
        public ActionResult Notice() {
            return Redirect("~/bbs/showforum.aspx?forumid=2");

        }

        public ActionResult Workflow() {
            return Redirect("~/bbs/showforum.aspx?forumid=3");

        }

        public ActionResult Knowledge() {
            return Redirect("~/bbs/showforum.aspx?forumid=5");

        }
        public ActionResult Achievement() {
            return Redirect("~/bbs/showforum.aspx?forumid=11");

        }

        public ActionResult Star() {
            return Redirect("~/bbs/showforum.aspx?forumid=16");

        }

        public ActionResult Faq() {
            return Redirect("~/bbs/showforum.aspx?forumid=26");

        }

        public ActionResult Life() {
            return Redirect("~/bbs/showforum.aspx?forumid=20");

        }
        public ActionResult Topic(int id) {
            return Redirect("~/bbs/showtopic-" + id + ".aspx");

        }

        public ActionResult Sale(int id) {
            return Redirect("~/bbs/userinfo-" + id + ".aspx");

        }
    }
}
